package com.example.framwork.result;

/**
 * @author Sheeper
 * @date 2018/4/28.
 */
public abstract class ObjectResult<T> extends BaseResult {
    private T data;

    public ObjectResult() {

    }

    public ObjectResult(int code, String message) {
        super(code, message);
    }

    public ObjectResult(int code, String message, T data) {
        super(code, message);
        this.data = data;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
